WP2FA\Admin\SettingsPages\Settings_Page_Policies C

Total Complexity 114
Dependencies 10
Dependents 2
Total lines 876
Lines of code 576
Logical lines of code 266
Comment lines 225
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
validate_and_sanitize()
D
18
67 210
render()
A
36 13 88
user_profile_settings()
A
37 10 89
generate_custom_user_profile_page()
S
50 5 28
new_page_created()
S
50 5 27
update_wp2fa_network_options()
S
51 3 30
get_post_by_post_name()
S
64 4 10
disable_2fa_removal_setting()
S
53 1 29
user_redirect_after_wizard()
S
54 1 25
grace_period_setting()
S
55 1 24
select_method_setting()
S
81 1 3
select_enforcement_policy_setting()
S
81 1 3
excluded_roles_or_users_setting()
S
74 1 7
excluded_network_sites()
S
82 1 3